<template>
  <span>{{ count }}</span>
  <br>
  <button @click="handleClick">add</button>
</template>

<script setup>
import { ref } from 'vue'

const count = ref(0)
const handleClick = () => {
  count.value++
}
</script>